package com.qf.service;

import com.qf.pojo.Course;
import com.qf.utils.ResultMsg;

public interface CourseService {
    ResultMsg selectAll(Integer page,Integer limit);

    ResultMsg selectOne(Integer courseId);

    ResultMsg changeCourseStatus(Integer courseId);

    ResultMsg changeCourse(Course course);

    ResultMsg deleteCourse(Integer courseId);

    ResultMsg find(String name, String status);

    ResultMsg add(Course course);
}
